package InheritancePractice;

public class Test {
    public static void main(String[] args) {
        //创建布偶猫对象
        Ragdoll rd=new Ragdoll();
        rd.eat();
        rd.drink();
        rd.CatchMouse();

        System.out.println("-------------------------");

        //创建泰迪对象
        Teddy td=new Teddy();
        td.eat();;
        td.drink();
        td.LookHome();
        td.Touch();
    }

}
